import { ScrollView, View, Image, Text } from "@tarojs/components"


import './index.less'


const HistoryBar = (props) => {
    const { bookList } = props
    return (<ScrollView className="combar" scrollX >
        {
            bookList.map(item => <View key={item.title} className="combarItem">
                <Image className="combarItemImage" src={item.image_url}></Image>
                <View className="combarItemText">{item.title}</View>
            </View>)
        }
    </ScrollView>)
}

export default HistoryBar